<template>
  <el-dialog
  title="编辑"
  :visible.sync="dialogVisible"
  width="30%"
  :close-on-click-modal="false"
  :show-close="false"
  :close-on-press-escape="false"
  >
  <el-form ref="form" :model="form" label-width="100px">
  <el-form-item label="时间：">
    <el-input v-model="form.time" ></el-input>
  </el-form-item>
  <el-form-item label="类型：">
    <el-input v-model="form.type"></el-input>
  </el-form-item>
  <el-form-item label="概述：">
    <el-input type="textarea" v-model="form.desc"></el-input>
  </el-form-item>
  </el-form>
  <span slot="footer" class="dialog-footer">
    <el-button type="primary"  >确认报送</el-button>
     <el-button  @click="closeWin" >关闭</el-button>
  </span>
</el-dialog>
</template>

<script>
export default {
  props:{
    dialogVisible:{
      type:Boolean,
      required:true
    }
  },
  methods:{
    closeWin(){
      this.$emit("close")
    }
  },
  data(){
    return{
       form: {
          name: ''
       }
    }
  }

}
</script>

<style>

</style>